feat(notify): let Android users review urgent channel settings - #572
Merged
PiscesXD merged 4 commits intoSep 19, 2026
Merged
Conversation
PiscesXD
force-pushed
the
feat/android-urgent-notifications
branch
from
September 17, 2026 15:40
4a7fb3d to
b6316bc
Compare
Member
|
我 rebase main 和 調整了 UI 排版最佳化,視覺上更直觀一點. Discord 訊息 |
whes1015
force-pushed
the
feat/android-urgent-notifications
branch
from
September 17, 2026 16:54
b6316bc to
bf3876a
Compare
PiscesXD
previously approved these changes
Sep 19, 2026
Platform: android New(zh-Hant): Android 可逐一檢查重大通知是否能在勿擾模式中發出 New(en-US): Android users can review major-alert channels in Do Not Disturb
Platform: android New(zh-Hant): 有重大通知不能在勿擾模式發出時,權限檢查會在該區標上紅點 New(en-US): a dot marks the major-alert section when a channel is still held by Do Not Disturb
PiscesXD
force-pushed
the
feat/android-urgent-notifications
branch
from
September 19, 2026 04:52
bf3876a to
d0ba688
Compare
Codecov Report❌ Patch coverage is
☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
YinCheng0106
approved these changes
Sep 19, 2026
YinCheng0106
left a comment
There was a problem hiding this comment.
功能部分已使用 Android Emulator 實際測試,權限檢查、重大通知頻道狀態、開啟系統 Channel Settings,以及返回 App 後的狀態更新皆可正常運作
因為我沒有實體 Android 裝置,所以這次沒有驗證不同 OEM 裝置,以及實際 DND/靜音模式下的通知行為
這部分仍須以 Android 系統與各裝置實際行為為準
LGTM 👍
PiscesXD
approved these changes
Sep 19, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Platform: android
New(zh-Hant): Android 可逐一檢查重大通知是否能在勿擾模式中發出
New(en-US): Android users can review major-alert channels in Do Not Disturb
這個 PR 做了什麼
在 Android 的 onboarding 與權限檢查中,顯示重大通知頻道的實際勿擾模式狀態,並提供各頻道的系統設定入口。
Android 沒有與 iOS Critical Alerts 完全對等的公開能力。本 PR 協助使用者設定重大通知頻道是否可通過勿擾模式,但通知無法穿透靜音模式、震動模式、零通知音量、頻道靜音或 OEM 額外限制。
相關 issue
怎麼驗
canBypassDnd()顯示目前是否允許在勿擾模式期間通知。自動驗證:
tool/check.sh通過。flutter analyze無問題。檢查清單
tool/check/commits.sh origin/main..HEAD通過—— commit 訊息就是更新日誌,格式見 commit.md
mise exec -- flutter analyze與mise exec -- flutter test通過AppLocalizations,沒有寫死AppSpacing/AppRadius/AppMotion,深色模式看過,文字對比度可接受